load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "confchange",
    srcs = [
        "confchange.go",
        "restore.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/go.etcd.io/etcd/raft/v3/confchange",
    importpath = "go.etcd.io/etcd/raft/v3/confchange",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/go.etcd.io/etcd/raft/v3/quorum",
        "//vendor/go.etcd.io/etcd/raft/v3/raftpb",
        "//vendor/go.etcd.io/etcd/raft/v3/tracker",
    ],
)
